Skip to content

[WS-2756] Localise football match kick off time in Sport Header #14093

Merged
Louis-Matsika merged 10 commits into
latestfrom
WS-2756-localise-sport-header-times-temporal
Jun 10, 2026
Merged

[WS-2756] Localise football match kick off time in Sport Header #14093
Louis-Matsika merged 10 commits into
latestfrom
WS-2756-localise-sport-header-times-temporal

Conversation

@hotinglok

@hotinglok hotinglok commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Resolves JIRA: WS-2756

Summary

Adds client-side localisation of match kick-off times in Sport Header component.
Storybook/full component unit tests were not added given the difficulties of mocking browser locale. As such this should be manually tested and verified as working through test assets.

Code changes

  • Adds get-localised-time.ts to helpers.
  • Add tests

Testing

  1. Visit http://localhost:7081/hausa/live/c60j7r854z5rt?renderer_env=test
  2. In dev tools, use Cmd + shift + p and search for Show sensors.
  3. Change the location in the menu and refresh the page. The time should change. Verify the times are accurate to the location.

Useful Links

@hotinglok hotinglok changed the title [WS-2756] Implementation with Temporal [WS-2756] Localise football match kick off time in Sport Header Jun 9, 2026
@hotinglok hotinglok marked this pull request as ready for review June 9, 2026 12:15
@hotinglok hotinglok requested a review from a team as a code owner June 9, 2026 12:15
@Louis-Matsika

Copy link
Copy Markdown
Contributor

LGTM. following the testing steps shows the correct localised times 🕘

Comment thread package.json
},
"packageManager": "yarn@4.9.4"
}
} No newline at end of file

@HarveyPeachey HarveyPeachey Jun 9, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Github crying about eof

@Louis-Matsika Louis-Matsika merged commit f112ff2 into latest Jun 10, 2026
14 checks passed
@Louis-Matsika Louis-Matsika deleted the WS-2756-localise-sport-header-times-temporal branch June 10, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants